<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User_model extends MY_Model{

	var $table = 'user';

	public function __construct() {
		parent::__construct();
	}
		
	/**
	 * 查找详细信息byID
	 * 
	 * @param integer $id
	 * @return array
	 */
	public function findUser($id) {
		return $this->get_row(array('id'=>$id));
	}

}